#pragma once
#include "afxsock.h"
#include "ChatRoomDlg.h"

class CChatSocket :
	public CSocket
{
public:
	CChatSocket(void);
	CChatSocket(CChatRoomDlg* pDlg);
	virtual ~CChatSocket(void);

public:
	CChatRoomDlg* m_pDlg;

	virtual void OnReceive(int nErrorCode);

};
